by Brent McKibbin (1 Submission)
Category: Miscellaneous
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating:
(2 Votes)
This .zip has both a straight module and a class implementation of a Base64 encoder and decoder. It is meant to be a generic implementation, so it doesn't add MIME headers or footers--those will need to be added by the calling code. Encoding speed on my machine runs about 2MB a second, and decoding around 1MB a second.
Inputs
Both functions expect to be passed strings.